home *** CD-ROM | disk | FTP | other *** search
- rem This sample file is for a sample server named CHARON
- rem The default network drive starts at Drive H:
- rem Drive F: and Drive G: are reserved for CD-ROMs
- rem
-
- break off
- dos break off
- map display off
-
- write
- write "Good "; greeting_time; ", "; full_name; "."
- write "Logical connection #"; station; " on Server "; file_server; "."
-
- map h:=CHARON/sys:\
- drive h:
-
- map ins s1:=CHARON/sys:\public\netmenu
- map ins s2:=CHARON/sys:\public\autoexec
- map ins s3:=CHARON/sys:\public
- if member of "RHM" then map ins s4:=CHARON/sys:\rhm
-
-
- rem This sets up a group drive letter based on which 'department' they are in
- map root l:=CHARON/sys:usr\%login_name
- if member of "ACCT" then map root m:=CHARON/sys:grp\acct
- if member of "FIANCE" then map root m:=CHARON/sys:grp\finance
- if member of "PROC" then map root m:=CHARON/sys:grp\proc
- if member of "DAC" then map root m:=CHARON/sys:grp\dac
- if member of "DOC" then map root m:=CHARON/sys:grp\doc
- if member of "GIS" then map root m:=CHARON/sys:grp\gis
- if member of "MIS" then map root m:=CHARON/sys:grp\mis
- if member of "IS" then map root m:=CHARON/sys:grp\is
-
- if member of "PUBLIC-ADVANCED" then begin
- map ins s4:=CHARON/sys:apps\extras
- map ins s4:=CHARON/sys:public\advanced
- end
- if member of "NORTON-UTILITIES" then begin
- map ins s4:=CHARON/sys:apps\nu
- end
- if member of "LANSIGHT" then begin
- map ins s4:=CHARON/sys:apps\lansight
- end
-
- map h:=CHARON/sys:public\robot
- #ncopyscr h:\public\robot\allusers.scr
- #nchkcsys 40 15 1024
- #nlogaddr h:\public\robot\inbound\login.txt
-
- dos set name=login_name
-
- map h:=CHARON/sys:usr\%login_name
-
- if member of "RESEARCH" then begin
- #ncopyscr h:\public\robot\research.scr
- end
-
- if login_name = "INSTALL" then begin
- map h:=CHARON/sys:grp\mis\master
- end
-
- if p_station = "000086E25BBB" then begin
- #capture /j=dac-hpiid
- end
- if p_station = "000086E23B6F" then begin
- #capture /j=dac-hpii
- end
- if p_station = "000086E30823" then begin
- #capture /j=doc-lq1000
- end
- if p_station = "000086E2A46E" then begin
- #capture /j=doc-hpiip
- end
-
-
- if login_name = "ANYWHERE" then begin
- exit "Y:startup4.bat"
- end
-
- if member of "NO-NETMENU" then begin
- if not member of "RHM" then begin
- if login_name = "BACKUP" then begin
- exit
- end
- exit "Y:minimum.bat"
- end
- exit "Y:startup2.bat"
- end
-
- exit "Y:startup.bat"